package zuoye28.zuoye3;

public class Teacher {
    public String name;
    public String school;
    public double age;


    public void shangke(){
        System.out.println("我会我会唱跳rap篮球java");
    }
    public Teacher() {
    }
    public Teacher(String name, String school, double age) {
        this.name = name;
        this.school = school;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public double getAge() {
        return age;
    }

    public void setAge(double age) {
        this.age = age;
    }
    //    public Teacher() {
//    }
//    public Teacher(String name, String school, int age) {
//        this.name = name;
//        this.school = school;
//        this.age = age;
//    }
//
//    public String getName() {
//        return name;
//    }
//
//    public void setName(String name) {
//        this.name = name;
//    }
//
//    public String getSchool() {
//        return school;
//    }
//
//    public void setSchool(String school) {
//        this.school = school;
//    }
//
//    public double getAge() {
//        return age;
//    }
//
//    public void setAge(int age) {
//        this.age = age;
//    }
}
